package com.zyx.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class OrdersAutoSpencer {
    private Integer ordersId;

    private String ordersName;

    private String phone;

    private String spencerName;

    private String name;

    private String autoName;

    private Integer state;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date createTime;

    @Override
    public String toString() {
        return "OrdersAutoSpencer{" +
                "ordersId=" + ordersId +
                ", ordersName='" + ordersName + '\'' +
                ", phone='" + phone + '\'' +
                ", spencerName='" + spencerName + '\'' +
                ", name='" + name + '\'' +
                ", autoName='" + autoName + '\'' +
                ", state=" + state +
                ", createTime=" + createTime +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getOrdersId() {
        return ordersId;
    }

    public void setOrdersId(Integer ordersId) {
        this.ordersId = ordersId;
    }

    public String getOrdersName() {
        return ordersName;
    }

    public void setOrdersName(String ordersName) {
        this.ordersName = ordersName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSpencerName() {
        return spencerName;
    }

    public void setSpencerName(String spencerName) {
        this.spencerName = spencerName;
    }

    public String getAutoName() {
        return autoName;
    }

    public void setAutoName(String autoName) {
        this.autoName = autoName;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
